package by.apiskun.curex.dataaccess;

import java.util.List;

import by.apiskun.curex.datamodel.Wallet;

public interface WalletDAO extends AbstractDAO<Long, Wallet> {

	Long getCount();

	List<Wallet> getAllWalets();

	List<Wallet> getAllWalletsByMoneyName(String name);

	List<Wallet> getAllWalletsByUserLogin(String login);

	List<Wallet> getAllWalletsByAmount(Double amount);

	List<Wallet> getAllWalletsByAmountRange(Double minAmount, Double maxAmount);

	void updateWalletAmount(Long id, Double newAmount);

}
